<#import "/resource/eduPlan/template.html" as template> <@template.index
title="学校管理">

<script>
	function showSchool(xxdm) {
		var url = "${application}/school/showSchool.action?xxdm=" + xxdm;
		result = window
				.showModalDialog(url, "",
						"dialogHeight:450px;dialogWidth:510px;center:yes;status:no;help:no;scroll:no");
		if (undefined != result) {
			refresh();
		}
	}

	function addJB() {
		var url = "${application}/jb/addJB.action?xxdm=${xxdm}";
		result = window
				.showModalDialog(url, "",
						"dialogHeight:450px;dialogWidth:510px;center:yes;status:no;help:no;scroll:no");
		if (undefined != result) {
			refresh();
		}
	}
	function refresh() {

	}
</script>
<div class="row-fluid">
	<div class="span12">
		<h3 class="page-title">
			学校管理 <small>把远程的素材信息保存到本地吧</small>
		</h3>
		<ul class="breadcrumb">
			<li><i class="icon-home"></i> <a href="index.jsp">首页</a> <i
				class="icon-angle-right"></i></li>
			<li><a href="javascript:;">基础服务</a> <i class="icon-angle-right"></i>
			</li>
			<li><a href="javascript:;">素材管理</a>
			</li>
			<li class="pull-right no-text-shadow">
				<div style="display: block;" id="dashboard-report-range"
					class="dashboard-date-range tooltips no-tooltip-on-touch-device responsive"
					data-tablet="" data-desktop="tooltips" data-placement="top"
					data-original-title="2014年03月26日">
					<i class="icon-calendar"></i> <span>2014年03月26日</span>
				</div></li>
		</ul>
	</div>
</div>

<div class="row-fluid">
	<div style="padding-bottom: 10px;" class="span12">
		<a href="javascript:addJB()" class="btn purple"><i
			class="icon-plus icon-white"></i>&nbsp;添加</a> <a id="deleteAll"
			href="javascript:;" class="btn red"><i class="icon-trash"></i> </a>
		<form class="form-search pull-right" method="get"
			action="basic/keywords/index.jsp">
			<div class="input-append">
				<input type="text" placeholder="请输入关键词..." value="" name="name"
					class="m-wrap"> <input type="hidden" value=""
					name="resultType">
				<button type="submit" class="btn green">搜索</button>
			</div>
		</form>
	</div>
</div>
<div class="row-fluid ">


	<!-- BEGIN TAB PORTLET-->

	<div class="portlet box blue tabbable">

		<div class="portlet-title">

			<div class="caption">
				<i class="icon-reorder"></i>&nbsp;
			</div>

		</div>
		<div class="portlet-body">
			<div class="tabbable portlet-tabs">
				<ul class="nav nav-tabs">
					<#list jbs as jb> <#if 0!=jb_index>
					<li><a href="#portlet_tab${jb_index+1}" data-toggle="tab">${jb.jbmc!""}</a>
					</li> <#else>
					<li class="active"><a href="#portlet_tab${jb_index+1}"
						data-toggle="tab">${jb.jbmc!""}</a></li> </#if> </#list>

				</ul>
				<div class="tab-content">
					<#list jbs as jb> <#if 0!=jb_index>
					<div class="tab-pane" id="portlet_tab${jb_index+1}">
						<#else>
						<div class="tab-pane active" id="portlet_tab${jb_index+1}">
							</#if>

							<table
								class="table table-striped table-bordered table-advance table-hover">
								<thead>
									<tr>
										<th>序号</th>
										<th>班级代码</th>
										<th>班级名称</th>
										<th>操作</th>
									</tr>
								</thead>
								<tbody>
									<#if bjs[jb.jb]??> <#list bjs[jb.jb] as bj>
									<tr>
										<td>${bj_index+1}</td>
										<td>${bj.bh}</td>
										<td>${bj.bjmc}</td>
										<td><a href="#" class="btn mini green-stripe">修改</a>&nbsp;<a
											href="#" class="btn mini green-stripe">删除</a>
										</td>
									</tr>
									</#list> </#if>
								</tbody>
							</table>
						</div>
						</#list>
					</div>
				</div>
			</div>
		</div>
	</div>
	</@template.index>